package com.xmall.order.define.request.query;

import com.xmall.define.base.BasePageQueryRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * 请求数据格式：分页 order - order
 */
@Data
public class FrontOrderListPageQueryRequest extends BasePageQueryRequest {

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private Long memberId;

    /**
     * 订单状态
     */
    private List<Long> statusList = new ArrayList<>();

}
